package io.renren.modules.sys.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import io.renren.modules.sys.dao.SysLogDao;
import io.renren.modules.sys.entity.SysLogEntity;
import io.renren.modules.sys.service.SysLogService;

@Service("sysLogService")
public class SysLogServiceImpl extends ServiceImpl<SysLogDao, SysLogEntity> implements SysLogService {

    @Override
    public List<SysLogEntity> queryList(Map<String, Object> map) {
        return baseMapper.selectList(null);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return baseMapper.selectCount(null);
    }

}
